#include "SparkEditorMenuCamera.h"


SparkEditorMenuCamera::SparkEditorMenuCamera()
{
	// Save Position
	wxMenuItem* newSavePosition = new wxMenuItem(this, IDMENU_CAMERA_SAVE_POSITION, wxT("&Save Position"), wxT("Save Camera Position"), wxITEM_NORMAL);
	wxBitmap newSavePositionBitmap(SparkEditorGlobal::GetDataPath() + wxT("icons/camsave.png"));
	newSavePosition->SetBitmap(newSavePositionBitmap);
	this->Append(newSavePosition);

	// Speed+
	wxMenuItem* newSpeedPlus = new wxMenuItem(this, IDMENU_CAMERA_SPEED_PLUS, wxT("&Speed+"), wxT("Increase Camera Speed"), wxITEM_NORMAL);
	wxBitmap newSpeedPlusBitmap(SparkEditorGlobal::GetDataPath() + wxT("icons/camspeedplus.png"));
	newSpeedPlus->SetBitmap(newSpeedPlusBitmap);
	this->Append(newSpeedPlus);

	// Speed-
	wxMenuItem* newSpeedMinus = new wxMenuItem(this, IDMENU_CAMERA_SPEED_MINUS, wxT("&Speed-"), wxT("Decrease Camera Speed"), wxITEM_NORMAL);
	wxBitmap newSpeedMinusBitmap(SparkEditorGlobal::GetDataPath() + wxT("icons/camspeedminus.png"));
	newSpeedMinus->SetBitmap(newSpeedMinusBitmap);
	this->Append(newSpeedMinus);

}

SparkEditorMenuCamera::~SparkEditorMenuCamera()
{

}

void SparkEditorMenuCamera::ConnectEvent(void)
{
	Connect(IDMENU_CAMERA_SAVE_POSITION, wxEVT_COMMAND_TOOL_CLICKED, wxCommandEventHandler(SparkEditorMenuCamera::OnCameraSavePosition));
	Connect(IDMENU_CAMERA_SPEED_PLUS, wxEVT_COMMAND_TOOL_CLICKED, wxCommandEventHandler(SparkEditorMenuCamera::OnCameraSpeedPlus));
	Connect(IDMENU_CAMERA_SPEED_MINUS, wxEVT_COMMAND_TOOL_CLICKED, wxCommandEventHandler(SparkEditorMenuCamera::OnCameraSpeedMinus));
}

void SparkEditorMenuCamera::OnCameraSavePosition(wxCommandEvent& event)
{

}

void SparkEditorMenuCamera::OnCameraSpeedPlus(wxCommandEvent& event)
{

}

void SparkEditorMenuCamera::OnCameraSpeedMinus(wxCommandEvent& event)
{

}

